import api from './index'

// 公用接口
export default {
	// 获取城市列表
	getChinaList: (params) => api.get('/crm/china/list', params),
	// 首页报价
	getClue: (params) => api.post('/crm/clue', params),
	// 获取咨询列表
	getArticleList: (params) => api.get('/system/article/list', params),
	// 文章详情
	getArticleDetail: (id) => api.get('/system/article/' + id),
	getInfo: (params) => api.get('/getInfo', params),
	getAgreements: (id) => api.get('/system/agreements/'+id),
	// 通过首字母查询城市列表
	getIndexCity: (id) => api.get('/crm/china/getCity'),
}